package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * 消息
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2018-01-02
 */
@TableName("rd_msg")
@SuppressWarnings("serial")
public class Msg extends BaseModel {

    /**
     * 消息时间
     */
	@TableField("msg_time")
	private Date msgTime;
    /**
     * 消息类型
1、互动
2、寻人寻物
3、车辆求助
     */
	@TableField("msg_type")
	private Integer msgType;
    /**
     * 消息内容类型
0、text
1、语音
2、图片
3、位置
     */
	@TableField("msg_content_type")
	private Integer msgContentType;
    /**
     * 用户id
     */
	@TableField("user_id")
	private Long userId;
    /**
     * 电台id
     */
	@TableField("rs_id")
	private Long rsId;
    /**
     * 方向
     */
	@TableField("msg_direct")
	private Integer msgDirect;
    /**
     * 消息内容
     */
	@TableField("msg_attachment_addr")
	private String msgAttachmentAddr;
    /**
     * 自动翻译
     */
	@TableField("msg_txt_content")
	private String msgTxtContent;
    /**
     * 状态
0  待审
1 已审待播
2 已审已播
3 导播忽略
4 主播忽略


     */
	private Integer status;
    /**
     * 语音长度
     */
	@TableField("radio_len")
	private Integer radioLen;
    /**
     * 行驶方向
     */
	@TableField("driving_direction")
	private String drivingDirection;
    /**
     * 位置坐标
     */
	@TableField("position_coor")
	private String positionCoor;
    /**
     * 位置名称
     */
	@TableField("position_name")
	private String positionName;
    /**
     * 消息来源
0 微信
1 app
2 平台发布
     */
	@TableField("message_from")
	private Integer messageFrom;
    /**
     * 求助id
     */
	@TableField("help_id")
	private Long helpId;
    /**
     * 0 未删除
1 已删除
     */
	@TableField("del_status")
	private Integer delStatus;

	@TableField("audit_user_id")
	private Long auditUserId;
	@TableField("audit_user_name")
	private String auditUserName;
	@TableField("audit_time")
	private Date auditTime;
	@TableField("play_user_id")
	private Long playUserId;
	@TableField("play_user_name")
	private String playUserName;
	@TableField("play_time")
	private Date playTime;
	/**
	 * 微信ID部分 来源公众号id粉丝id*/
	@TableField("wechat_id_data")
	private String wechatIdData;

	/**微信消息部分 粉丝发来的消息有些数据表中未设计以及以后接口拓展的兼容保留*/
	@TableField("wechat_msg_data")
	private String wechatMsgData;

	/**微信用户部分 粉丝头像昵称*/
	@TableField("wechat_user_data")
	private String wechatUserData;
	/**
	 {
	 "country": "百慕大",
	 "subscribe": 1,
	 "city": "",
	 "openid": "oEl-4uETCGjpmbYPmL1vwG7JOW4Q",
	 "tagid_list": [],
	 "sex": 1,
	 "groupid": 0,
	 "language": "zh_CN",
	 "remark": "",
	 "subscribe_time": 1397449973,
	 "province": "",
	 "nickname": "Winnid",
	 "headimgurl": "http://wx.qlogo.cn/mmopen/PiajxSqBRaEI7F60cicOjHKdYAn2icukQDu74rNSP6ky8oebMxe954EEnLpZGia4tFpQjR4uQ2KClyVjZK1icwyBnzg/0"
	 }
	 */

	/**
	 *行驶速度
	 */
	@TableField("driving_Speed")
	private double drivingSpeed;

	public double getDrivingSpeed() {
		return drivingSpeed;
	}

	public void setDrivingSpeed(double drivingSpeed) {
		this.drivingSpeed = drivingSpeed;
	}

	public Date getMsgTime() {
		return msgTime;
	}

	public void setMsgTime(Date msgTime) {
		this.msgTime = msgTime;
	}

	public Integer getMsgType() {
		return msgType;
	}

	public void setMsgType(Integer msgType) {
		this.msgType = msgType;
	}

	public Integer getMsgContentType() {
		return msgContentType;
	}

	public void setMsgContentType(Integer msgContentType) {
		this.msgContentType = msgContentType;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRsId() {
		return rsId;
	}

	public void setRsId(Long rsId) {
		this.rsId = rsId;
	}

	public Integer getMsgDirect() {
		return msgDirect;
	}

	public void setMsgDirect(Integer msgDirect) {
		this.msgDirect = msgDirect;
	}

	public String getMsgAttachmentAddr() {
		return msgAttachmentAddr;
	}

	public void setMsgAttachmentAddr(String msgAttachmentAddr) {
		this.msgAttachmentAddr = msgAttachmentAddr;
	}

	public String getMsgTxtContent() {
		return msgTxtContent;
	}

	public void setMsgTxtContent(String msgTxtContent) {
		this.msgTxtContent = msgTxtContent;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getRadioLen() {
		return radioLen;
	}

	public void setRadioLen(Integer radioLen) {
		this.radioLen = radioLen;
	}

	public String getDrivingDirection() {
		return drivingDirection;
	}

	public void setDrivingDirection(String drivingDirection) {
		this.drivingDirection = drivingDirection;
	}

	public String getPositionCoor() {
		return positionCoor;
	}

	public void setPositionCoor(String positionCoor) {
		this.positionCoor = positionCoor;
	}

	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public Integer getMessageFrom() {
		return messageFrom;
	}

	public void setMessageFrom(Integer messageFrom) {
		this.messageFrom = messageFrom;
	}

	public Long getHelpId() {
		return helpId;
	}

	public void setHelpId(Long helpId) {
		this.helpId = helpId;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}

	public Long getAuditUserId() {
		return auditUserId;
	}

	public void setAuditUserId(Long auditUserId) {
		this.auditUserId = auditUserId;
	}

	public String getAuditUserName() {
		return auditUserName;
	}

	public void setAuditUserName(String auditUserName) {
		this.auditUserName = auditUserName;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public String getWechatIdData() {
		return wechatIdData;
	}

	public void setWechatIdData(String wechatIdData) {
		this.wechatIdData = wechatIdData;
	}

    public String getWechatMsgData() {
        return wechatMsgData;
    }

    public void setWechatMsgData(String wechatMsgData) {
        this.wechatMsgData = wechatMsgData;
    }

	public String getWechatUserData() {
		return wechatUserData;
	}

	public void setWechatUserData(String wechatUserData) {
		this.wechatUserData = wechatUserData;
	}

	public Long getPlayUserId() {
		return playUserId;
	}

	public void setPlayUserId(Long playUserId) {
		this.playUserId = playUserId;
	}

	public String getPlayUserName() {
		return playUserName;
	}

	public void setPlayUserName(String playUserName) {
		this.playUserName = playUserName;
	}

	public Date getPlayTime() {
		return playTime;
	}

	public void setPlayTime(Date playTime) {
		this.playTime = playTime;
	}
}